package com.lhb.boyixue.user.mapper;

import com.lhb.boyixue.user.model.Question;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ComprehensiveKnowledgeMapper {
    @Insert("insert into comprehensive_knowledge(grade, title, year, id) values (#{grade},#{title},#{year},#{id})")
    void insert(String grade, String title, String year, Long id);

    List<Question> createQuestion(String title, String year);

    List<Question>practise();
}
